cmake_minimum_required(VERSION 3.10)
project(CxxUtils)

set(CMAKE_CXX_STANDARD 11)

set(TOP_DIR ${PROJECT_SOURCE_DIR}/../..)

include(darwin.cmake)

set(SOURCE_FILES library.cpp library.h list/List.c list/List.h)

add_library(${PROJECT_NAME} ${LIB_TYPE} ${SOURCE_FILES})


set(LIBRARY_OUTPUT_PATH ${UTILS_INSTALL_DIR}/${LIB_TYPE}/libs/)
install(FILES ${UTILS_INSTALL_INCLUDE_FILES}
        DESTINATION ${UTILS_INSTALL_DIR}/${LIB_TYPE}/includes/list)
install(FILES ${UTILS_INSTALL_CONFIG_FILES}
        DESTINATION ${UTILS_INSTALL_DIR}/${LIB_TYPE}/config/)